package com.rongzhe.house.user.service;

import com.rongzhe.house.common.exception.RongZheBusinessException;
import com.rongzhe.house.user.entity.UserBase;
import org.springframework.web.multipart.MultipartFile;

/**
 * Created by JackWangon[www.aiprogram.top] 2017/7/29.
 */
public interface UserService {

    String login(String data, String key) throws RongZheBusinessException;

    String uploadHeadImg(MultipartFile file, Integer userId) throws RongZheBusinessException;

    void sendVercode(String mobile, String ip)throws RongZheBusinessException;

    UserBase findById(Integer userId) throws RongZheBusinessException;

    void modifyNickName(UserBase user)throws RongZheBusinessException;
}
